<!-- 商品详情部分 -->
<template>
	<view class="details-img">
		<view class="detail-title">-- 商品详情 --</view>
		<block v-for="(item,index) in goods_details" :key="index">
			<image :src="item.image" mode="widthFix"></image>
		</block>
	</view>
</template>

<script setup>
	import { defineProps } from 'vue'
	defineProps({ 
		goods_details: Array
	})
</script>

<style scoped>
	.detail-title{
		text-align: center;
		color:#999999;
		background-color: #F6F6F6;
		padding: 20rpx 0 30rpx 0;
	}
	.details-img {
		background-color: #F6F6F6;		
	}

	.details-img image {
		width: 96%;
		margin: 0 auto;
		display: block;
		margin-bottom: 20rpx;
		border-radius: 20rpx;
	}
</style>
